<script>
	import {userStore} from "./store/index.js"
	export default {
		onLaunch: function() {
			console.log('App Launch')
			const store = userStore();
						
			uni.getSystemInfo({
				success(res) {
					store.setDeviceId(res.deviceId);
				}
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	:root{
		--color: #0279ff
	}
	
	page {
		background-image: linear-gradient(-45deg, #f4faff, #f8f8f8);
		// font-size: 28rpx;
	}
</style>